package tt.dz.entity.dic;

import java.io.Serializable;
import java.util.Date;

import tt.dz.util.annotation.PrimaryKey;
import tt.dz.util.annotation.Table;

/**
 * 操作代码表
 * 
 * @author xielongfei
 * 
 */
@Table(name = "oms_dic_command_code")
public class OmsDicCommandCode implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1166435388850398142L;
	/** 操作代码 */
	@PrimaryKey
	private String command_code;
	private String command_desc;
	/** 创建时间 */
	private Date create_time;
	/** 创建人id */
	private String create_oper_id;
	/** 更新时间 */
	private Date update_time;
	/** 更新人id */
	private String update_oper_id;
	private Integer valid_flag;

	public String getCommand_code() {
		return command_code;
	}

	public void setCommand_code(String command_code) {
		this.command_code = command_code;
	}

	public String getCommand_desc() {
		return command_desc;
	}

	public void setCommand_desc(String command_desc) {
		this.command_desc = command_desc;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public String getCreate_oper_id() {
		return create_oper_id;
	}

	public void setCreate_oper_id(String create_oper_id) {
		this.create_oper_id = create_oper_id;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public String getUpdate_oper_id() {
		return update_oper_id;
	}

	public void setUpdate_oper_id(String update_oper_id) {
		this.update_oper_id = update_oper_id;
	}

	public Integer getValid_flag() {
		return valid_flag;
	}

	public void setValid_flag(Integer valid_flag) {
		this.valid_flag = valid_flag;
	}

	@Override
	public String toString() {
		return "OmsDicCommandCode [command_code=" + command_code
				+ ", command_desc=" + command_desc + ", create_time="
				+ create_time + ", create_oper_id=" + create_oper_id
				+ ", update_time=" + update_time + ", update_oper_id="
				+ update_oper_id + ", valid_flag=" + valid_flag + "]";
	}

}
